package com.train.demoscwl.mapper;


import com.train.demoscwl.pojo.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author ASUS
 * @version 1.0
 * @description:TODO
 * @date 2025/5/13 8:34
 */
@Mapper
public interface UserMapper {

    /**
     * @param phone
     * @Desc: 根据用户电话号码查询用户记录
     * @Author: wjl
     * @DateTime: 2025/05/12 20:22:59
     * @Return: @return {@link User }
     */
    @Select("select * from user where phone =#{phone}")
    User selectByPhone(String phone);
}
